#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include "list_queue.h"


int main(void) {
    LinkedListQueue* q = create_queue();
    enqueue(q, 1);
    enqueue(q, 2);
    enqueue(q, 3);
    enqueue(q, 4);
    enqueue(q, 5);
    enqueue(q, 6);

    while (!is_empty(q)) {
        int val = peek_queue(q);
        printf("%d ", val);
        dequeue(q);
    }
    printf("\n");
    return 0;
}